home *** CD-ROM | disk | FTP | other *** search
- Path: news.ljusdal.se!news
- From: Marcsu <marcus.berggren@ljusdal.se>
- Newsgroups: comp.lang.c
- Subject: Re: ClearScreen in C
- Date: Mon, 01 Apr 1996 22:22:21 -0800
- Organization: Ljusdals Kommun (LjusNET)
- Message-ID: <3160C79D.7A2E@ljusdal.se>
- References: <DozLqI.6Du@undergrad.math.uwaterloo.ca>
- NNTP-Posting-Host: cisco500_7.ljusdal.se
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- Stephane Lalonde wrote:
- >
- > I am programming in C and for the user interface, I would
- > like to clearscreen when I move from menu to menu.
- >stephane
-
- Under DOS:
-
- include <conio.h>
- clrscr();
-
- under UNIX:
-
- use a systemcall;
-
- system("clear");
-
- /marcsu
-